home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / claqps.z / claqps
Encoding:
Text File  |  2002-10-03  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAAQQQQPPPPSSSS((((3333SSSS))))                                                          CCCCLLLLAAAAQQQQPPPPSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLAQPS - compute a step of QR factorization with column pivoting of a
  10.      complex M-by-N matrix A by using Blas-3
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CLAQPS( M, N, OFFSET, NB, KB, A, LDA, JPVT, TAU, VN1, VN2,
  14.                         AUXV, F, LDF )
  15.  
  16.          INTEGER        KB, LDA, LDF, M, N, NB, OFFSET
  17.  
  18.          INTEGER        JPVT( * )
  19.  
  20.          REAL           VN1( * ), VN2( * )
  21.  
  22.          COMPLEX        A( LDA, * ), AUXV( * ), F( LDF, * ), TAU( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      CLAQPS computes a step of QR factorization with column pivoting of a
  39.      complex M-by-N matrix A by using Blas-3. It tries to factorize NB columns
  40.      from A starting from the row OFFSET+1, and updates all of the matrix with
  41.      Blas-3 xGEMM.
  42.  
  43.      In some cases, due to catastrophic cancellations, it cannot factorize NB
  44.      columns.  Hence, the actual number of factorized columns is returned in
  45.      KB.
  46.  
  47.      Block A(1:OFFSET,1:N) is accordingly pivoted, but not factorized.
  48.  
  49.  
  50. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  51.      M       (input) INTEGER
  52.              The number of rows of the matrix A. M >= 0.
  53.  
  54.      N       (input) INTEGER
  55.              The number of columns of the matrix A. N >= 0
  56.  
  57.      OFFSET  (input) INTEGER
  58.              The number of rows of A that have been factorized in previous
  59.              steps.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAAQQQQPPPPSSSS((((3333SSSS))))                                                          CCCCLLLLAAAAQQQQPPPPSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      NB      (input) INTEGER
  75.              The number of columns to factorize.
  76.  
  77.      KB      (output) INTEGER
  78.              The number of columns actually factorized.
  79.  
  80.      A       (input/output) COMPLEX array, dimension (LDA,N)
  81.              On entry, the M-by-N matrix A.  On exit, block A(OFFSET+1:M,1:KB)
  82.              is the triangular
  83.              factor obtained and block A(1:OFFSET,1:N) has been accordingly
  84.              pivoted, but no factorized.  The rest of the matrix, block
  85.              A(OFFSET+1:M,KB+1:N) has been updated.
  86.  
  87.      LDA     (input) INTEGER
  88.              The leading dimension of the array A. LDA >= max(1,M).
  89.  
  90.      JPVT    (input/output) INTEGER array, dimension (N)
  91.              JPVT(I) = K <==> Column K of the full matrix A has been permuted
  92.              into position I in AP.
  93.  
  94.      TAU     (output) COMPLEX array, dimension (KB)
  95.              The scalar factors of the elementary reflectors.
  96.  
  97.      VN1     (input/output) REAL array, dimension (N)
  98.              The vector with the partial column norms.
  99.  
  100.      VN2     (input/output) REAL array, dimension (N)
  101.              The vector with the exact column norms.
  102.  
  103.      AUXV    (input/output) COMPLEX array, dimension (NB)
  104.              Auxiliar vector.
  105.  
  106.      F       (input/output) COMPLEX array, dimension (LDF,NB)
  107.              Matrix F' = L*Y'*A.
  108.  
  109.      LDF     (input) INTEGER
  110.              The leading dimension of the array F. LDF >= max(1,N).
  111.  
  112. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  113.      Based on contributions by
  114.        G. Quintana-Orti, Depto. de Informatica, Universidad Jaime I, Spain
  115.        X. Sun, Computer Science Dept., Duke University, USA
  116.  
  117.  
  118. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  119.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  120.  
  121.      This man page is available only online.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.